﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace TSites.Language
{
    /// <summary>
    /// Reprerents a message
    /// </summary>
    public class TsMessage
    {
        #region Member variables

        private String _messageId;
        private String[] _parameter;

        #endregion

        #region  Properties

        public String MessageId
        {
            get { return _messageId; }
            set { _messageId = value; }
        }

        public String[] Parameter
        {
            get { return _parameter; }
            set { _parameter = value; }
        }

        #endregion

        #region Constructor

        public TsMessage(String messageId, String[] parameter = null)
        {
            _messageId = messageId;
            _parameter = parameter;
        }

        #endregion
    }
}